{% extends 'layouts/base.html' %}

{% block title %}Login{% endblock %}
{% block meta_description %}Course Scheduling Admin Login page{% endblock %}

{% block body %}
{% from "security/_macros.html" import render_field_with_errors, render_field %}
{% include "security/_messages.html" %}
<h1>{{ _('Login') }}</h1>
<form action="{{ url_for_security('login') }}" method="POST" name="login_user_form">
  <div class="form-group">
  {{ login_user_form.hidden_tag() }}
  {{ render_field_with_errors(login_user_form.email,class_="form-control") }}
  {{ render_field_with_errors(login_user_form.password, class_="form-control") }}
  {{ render_field_with_errors(login_user_form.remember, class="form-check-input") }}
  {{ render_field(login_user_form.next) }}
  {{ render_field(login_user_form.submit, class="btn btn-default") }}
    </div>
</form>
{% include "security/_menu.html" %}
{% endblock %}